package com.charity.service;

import com.charity.pojo.Advertisement;

import java.util.List;

public interface AdvertisementService {

    List<Advertisement> advertisements();

    Advertisement advertisement(Integer no);

    Integer updateAdvertisement(Integer no, String title, String content);

    Integer addAdvertisement(String title, String content, String createDate);

    Integer deleteAdvertisement(Integer no);
}
